package entity.test02.demo04;

import entity.Student;

public class MainTest01 {
    public static void main(String[] args) {
        Class<?> clazz = Student.class;
        // 获取 Student 类所在的包路径
        Package p = clazz.getPackage();
        // org.ch02.entity
        System.out.println(p.getName());
    }
}
